<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>PrettyProlog implementation details - the GUI Module</title>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
<meta name="generator" content="Emacs">
<style type="text/css">
@import url("../style.css");
</style>
</head>
<body>
<div id="container">
    <div id="header">
      <h1>PrettyProlog - the GUI Module</h1>
    </div>
    <div id="content">
      <p align="left">
	The GUI Module (package <code>prettyprolog.gui</code>) includes the classes that make up the PrettyProlog GUI, including the viewers for the Stack, Theory, and SLD Tree. This module is not essential for PrettyProlog to function, but because this software is written with an educational objective in mind, a friendly GUI plays quite an important role.<br />
        The main class in this module is the <code>PrettyPrologApplet</code> class. It extends Applet so it can be included in a Web page, or it can be used just like a JPanel and added to a windowed application. A method <code>isApplet(boolean)</code> is provided so that you can specify whether you're running PrettyProlog as an applet or as a full application. Since applets have certain security restrictions, e.g. can't open local files, the behaviour of the applet might be different from that of the application.<br />
        Another important class is the <code>PrettyPrologPanel</code> class. It is the basic class of every panel added to the applet, like Theory Viewer, SLD Viewer, and possibly custom-made panels. It provides a basic interaction with the applet via its methods. More information is in the javadocs.
	</p>
    </div>
    <div id="footer"><a href="../index.html">General info</a> | <a href="../javadoc/index.html">Javadocs</a> | <a href="index.html">Implementation details</a></div>
</div>
</body>
</html>